package com.greateamd.timetableasy.client.services.login;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.greateamd.timetableasy.domain.User;
import com.greateamd.timetableasy.domain.exceptions.ServerSideException;

@RemoteServiceRelativePath("login.rpc")
public interface LoginService extends RemoteService {

	String login(String username, String password) throws ServerSideException;
	
	User getUser() throws ServerSideException;
}
